<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base href="<%=basePath%>">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<title>修改易耗品信息</title>
<link href="css/css-main.css" rel="stylesheet" type="text/css" />
<link href="css/main.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/validation/validationEngine.jquery.css" type="text/css"/>
<link rel="stylesheet" href="css/validation/template.css" type="text/css"/>

<script language="javascript" type="text/javascript" src="js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="js/validation/languages/jquery.validationEngine-zh_CN.js" ></script>
<script language="javascript" type="text/javascript" src="js/validation/jquery.validationEngine.js" ></script>
<script language="javascript" type="text/javascript" src="<%=basePath%>js/datepicker/WdatePicker.js"></script>
<script>
		jQuery(document).ready(function(){
			// binds form submission and fields to the validation engine
			jQuery("#formId").validationEngine({
			promptPosition: "centerRight"});
		});

		function cancel() {
			parentDialog.close();
		}
	</script>

</head>
<form id="formId" method="post" action="cms/consumables/doMod.do">
<div class="tableall">
  <!--//导航位置层-->
    <div class="cont_right_cont"><div>  
      </div>
      <fieldset>
      <legend>修改易耗品信息</legend>
      <div >
        <table width="100%" border="0" align="center" cellspacing="0" cellpadding="0">
        <s:hidden name="consumablesInfo.consumablesId"/>
          <tr>
            <td nowrap width="20%"  align="right">易耗品名称：</td>
            <td nowrap width="30%">
              <span style="padding:0px">
                <input name="consumablesInfo.consumablesName" value="<s:property value='consumablesInfo.consumablesName' />" type="text" class="data-searchtxt-runtime validate[required,maxSize[20] custom[chAndEnChar]] text-input"id="consumablesName" size="20" />
                <font color="red">*</font>
              </span>
            </td>
            </tr>
          <tr>
            <td nowrap align="right">易耗品类别：</td>
            <td nowrap>
             <span style="padding:0px">
              	<input name="consumablesInfo.consumablesTypeInfo.consumablesTypeName" value="<s:property value='consumablesInfo.consumablesTypeInfo.consumablesTypeName' />" type="text" class="data-searchtxt-runtime" id="consumablesTypeInfo"/>
              <font color="red">*</font>
              </span>
             </td>
          </tr>
          <tr>
            <td nowrap align="right">易耗品品牌：</td>
            <td nowrap>
             <span style="padding:0px">
              <input name="consumablesInfo.consumablesBrand" value="<s:property value='consumablesInfo.consumablesBrand' />" type="text" class="data-searchtxt-runtime" id="consumablesQuantity"/>
              </span>
             </td>
          </tr>
          <tr>
            <td  nowrap align="right">供应商名称：</td>
            <td nowrap>
             <span style="padding:0px">
              <input name="consumablesInfo.supplierInfo.supplierName" value="<s:property value='consumablesInfo.supplierInfo.supplierName' />" type="text" class="data-searchtxt-runtime"/>
              <font color="red">*</font>
              </span>
             </td>
          </tr>
          <tr>
            <td  nowrap align="right">数量：</td>
            <td nowrap>
             <span style="padding:0px">
              <input name="consumablesInfo.consumablesQuantity" value="<s:property value='consumablesInfo.consumablesQuantity' />" type="text" readonly="readonly" class="data-searchtxt-runtime" id="consumablesQuantity"/>
              </span>
             </td>
          </tr>
          <tr>
            <td  nowrap align="right">预警值：</td>
            <td nowrap>
             <span style="padding:0px">
              <input name="consumablesInfo.alarmQuantity" value="<s:property value='consumablesInfo.alarmQuantity' />" type="text" class="data-searchtxt-runtime" id="alarmQuantity"/>
              </span>
             </td>
          </tr>
          <tr>
            <td nowrap colspan="2" align="center">
            <input name="button2" type="submit" class="btn-Yes" id="button2" value="确定">
            <input name="button2" type="button" class="btn-Yes" id="button2" value="取 消" onclick="cancel();">
            </td>
          </tr>
        </table>
      </div>
      </fieldset>
    </div>
</div>
</form>
</html>
